# Biome

Languine can work together with [Biome](https://biomejs.dev/) to ensure your translation files are consistently formatted. This is particularly useful when working with JSON translation files that need to maintain a consistent style across your project.

## Using with Languine

The recommended way to use Biome with Languine is to format your translation files after they're generated. You can set this up in your `package.json`:

```json title="package.json"
{
  "scripts": {
    "translate": "languine translate",
    "format": "biome format \"locales/**/*.json\"",
    "translate:format": "npm run translate && npm run format"
  }
}
```

Now you can:
- Run `npm run translate` to only generate translations
- Run `npm run format` to only format existing translation files
- Run `npm run translate:format` to generate translations and format them in sequence

This configuration will ensure your translation files are formatted consistently with 2-space indentation and a maximum line width of 80 characters.